builder: Improve type name mangling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 13 Dec 2019 18:35:57 +0000 (13:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 13 Dec 2019 19:21:44 +0000 (14:21 -0500)
commit47285c66426eb5e999af9854c9f55bbb653b86b5
tree4760e03f765b30ea305664182f3fc10e6ee9e456
parente4fb4116fd930c18f46cf2fe7b679a6d1936edf2
builder: Improve type name mangling

When looking for the get_type function for GThemedIcon,
try both g_themed_icon_get_type and gthemed_icon_get_type
The former is what gio has, the latter is still supported
to avoid breaking gweather_location_get_type.

Update tests to cover this new case.
gtk/gtkbuilderscope.c
testsuite/gtk/typename.c